home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
misc_pto
/
mwpetz16
/
poppad.rc
< prev
next >
Wrap
Text File
|
1991-06-01
|
3KB
|
95 lines
#ifdef MEWEL
#include "c:\mewel\style.h"
#else
#include "style.h"
#endif
#include "poppad.h"
#include "filedlg.h"
#ifdef MEWEL
PopPad ICON poppad.ico
#else
PopPad ICON "poppad.ico"
#endif
PopPad MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_NEW
MENUITEM "&Open...", IDM_OPEN
MENUITEM "&Save", IDM_SAVE
MENUITEM "Save &As...", IDM_SAVEAS
MENUITEM SEPARATOR
MENUITEM "&Print...", IDM_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
MENUITEM "A&bout PopPad...", IDM_ABOUT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tAlt+BkSp", IDM_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tDel", IDM_CUT
MENUITEM "&Copy\tCtrl+Ins", IDM_COPY
MENUITEM "&Paste\tShift+Ins", IDM_PASTE
MENUITEM "C&lear\tShift+Del", IDM_CLEAR
MENUITEM SEPARATOR
MENUITEM "&Select All", IDM_SELALL
END
END
PopPad ACCELERATORS
BEGIN
VK_DELETE, IDM_CUT, VIRTKEY
VK_INSERT, IDM_COPY, VIRTKEY, CONTROL
VK_INSERT, IDM_PASTE, VIRTKEY, SHIFT
VK_DELETE, IDM_CLEAR, VIRTKEY, SHIFT
END
#ifdef MEWEL
AboutBox DIALOG 20, 2, 40, 11
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
CTEXT "PopPad" -1, 22, 4, 25, 1
CTEXT "Popup Editor for Microsoft Windows" -1, 22, 6, 35, 1
CTEXT "(C) Charles Petzold, 1987" -1, 22, 7, 25, 1
DEFPUSHBUTTON "OK" IDOK, 30, 8, 8, 3, WS_GROUP
END
PrintDlgBox DIALOG 20, 2, 40, 11
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
CAPTION "PopPad"
BEGIN
CTEXT "Sending", -1, 22, 4, 25, 1
CTEXT "", IDD_FNAME, 22, 5, 25, 1
CTEXT "to print spooler.", -1, 22, 6, 25, 1
DEFPUSHBUTTON "Cancel", IDCANCEL, 30, 7, 10, 3, WS_GROUP
END
#else
AboutBox DIALOG 20, 20, 160, 80
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
CTEXT "PopPad" -1, 0, 12, 160, 8
ICON "PopPad" -1, 8, 8, 0, 0
CTEXT "Popup Editor for Microsoft Windows" -1, 0, 36, 160, 8
CTEXT "Copyright (C) Charles Petzold, 1987" -1, 0, 48, 160, 8
DEFPUSHBUTTON "OK" IDOK, 64, 60, 32, 14, WS_GROUP
END
PrintDlgBox DIALOG 20, 20, 100, 76
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
CAPTION "PopPad"
BEGIN
CTEXT "Sending", -1, 0, 10, 100, 8
CTEXT "", IDD_FNAME, 0, 20, 100, 8
CTEXT "to print spooler.", -1, 0, 30, 100, 8
DEFPUSHBUTTON "Cancel", IDCANCEL, 34, 50, 32, 14, WS_GROUP
END
#endif
rcinclude filedlg.dlg